package me.ezjs.framework.bridge.dao;


import me.ezjs.framework.bridge.BaseObject;
import me.ezjs.framework.core.dao.hibernate.GenericDaoHibernate;

public class BaseDAOImpl<T extends BaseObject> extends GenericDaoHibernate<T, String> {

    public BaseDAOImpl(final Class<T> persistentClass) {
        super(persistentClass);
    }

    @Override
    public T save(T t) {
        t.setModified();
        return super.save(t);
    }

}
